<?php
	global $nav_links, $trigger_uri;
?>
<div id='left_bar'>
	<div id='logo'><a href='#' class='ir'>Michael Krebs</a></div>
	<ul id='navigation'>
		<?php
			// Set active state variable
			$active_link = "";
			
			// Insert navlinks
			foreach ($nav_links as $key => $link) {
				$active_link = ($trigger_uri == $link) ? " active_nav" : "" ;
				$down_under = ($link == 'about') ? " class='down_under'" : "";
				echo "<li$down_under><a class='cufon_bold".$active_link."' href='$link'>".str_replace("-", " ", $link)."</a></li>";
			}
		?>
	</ul>
</div>